home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3945 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.3 KB

  1. Path: ssu-10en85.sonoma.edu!user
  2. From: bob@cs.sonoma.edu (Robert G. Plantz)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: can you help me learn programming ?
  5. Date: Fri, 26 Jan 1996 13:52:08 -0800
  6. Organization: Sonoma State University
  7. Message-ID: <bob-2601961352080001@ssu-10en85.sonoma.edu>
  8. References: <sg19-2101960200070001@128.253.183.75>,<4e49fe$qks@news.iconn.net> <0099CF0E.4B42DDD1@pomona.edu>
  9. NNTP-Posting-Host: ssu-10en85.sonoma.edu
  10.  
  11. In article <0099CF0E.4B42DDD1@pomona.edu>, jlamport@pomona.edu wrote:
  12.  
  13. > >In article <sg19-2101960200070001@128.253.183.75>, sg19@cornell.eduW says...
  14. > >>
  15. > >>Hi,
  16. > >>I know nothing about computer programming but I am eager to learn.
  17.  
  18. > Personally, I would recommend Pascal as a good language to learn on: it's
  19. > simple, elegant, and powerful.  Moreover, it was originally designed as a
  20. > teaching language, and well-designed at that, so its syntax actually
  21. represents
  22. > the underlying concepts very well; and its somewhat more restrictive
  23. > syntax encourages good programming style. (For example, the absense of a
  24. > "break" statement makes you think carefully about entrance and exit conditions
  25. > in loops and other conditionals, discouraging "spaghetti code".)
  26.  
  27. Do you have any evidence to support your assertion that learning Pascal
  28. first "encourages good programming style?"
  29.  
  30. A couple of years ago I taught two (university) classes, introduction
  31. to programming (done in C), and C programming for students who took the
  32. introductory course in Pascal. I used the same book for both classes,
  33. thinking that the C programming class would go much faster and get further
  34. in the book than the Intro. class. Wrong! I ended up giving almost identical
  35. assignments to both classes. And I could not detect any difference in the
  36. quality of code coming from the (Pascal) experienced students, compared
  37. to the intro. level students.
  38.  
  39. This was NOT a well-controlled study. And my observations are purely
  40. anecdotal. But I have posted this on the net several times and have
  41. yet to see anyone present any REAL DATA (even as flawed as my data)
  42. that would suggest that learning Pascal first is a good thing to do.
  43. All I have heard are opinions that it is a good thing.
  44.  
  45. Thus far, my conclusion is that learning Pascal first will not hurt
  46. anyone, but it is an inefficient way to learn how to program.
  47.  
  48. Bob Plantz
  49. bob@cs.sonoma.edu
  50.